package com.lalilu.lmedia.extension

enum class SourceType {
    MediaStore, Local, Network, Unknown;

    companion object {
        fun fromString(value: String): SourceType = when (value) {
            "MediaStore" -> MediaStore
            "Local" -> Local
            "Network" -> Network
            else -> Unknown
        }
    }
}